﻿using System;
using System.Collections.Generic;
using System.Linq;
using Ongoal.Quotation.Common;
using SqlSugar;
namespace Ongoal.Quotation.Service.Model
{
    /// <summary>
    /// 用户实体类
    ///</summary>
    [SugarTable("T_Sys_User")]
    public class T_Sys_User : ModelBase
    {
        /// <summary>
        /// 工号
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string DisplayName { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IDCardNO { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string AvatarUrl { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType { get; set; }
       /// <summary>
       /// 手机号
       /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// qq
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 入职时间
        /// </summary>
        public DateTime? OnboardingDate { get; set; }
        /// <summary>
        /// 是否可登录
        /// </summary>
        public int LoginEnable { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastLoginTime { get; set; }
        /// <summary>
        /// 登录次数
        /// </summary>
        public int LoginTimes { get; set; }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int IsLocked { get; set; }
        /// <summary>
        /// 锁定时间
        /// </summary>
        public DateTime LockTime { get; set; }
        /// <summary>
        /// 租户ID
        /// </summary>
        public string TenantID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
